Unicode in Domain-Specific Programming Languages for Modeling & Simulation: ScalaTion as a Case Study

نویسندگان

  • Michael E. Cotterell
  • John A. Miller
  • Tom Horton
چکیده

As recent programming languages provide improved conciseness and flexibility of syntax, the development of embedded or internal Domain-Specific Languages has increased. The field of Modeling and Simulation has had a long history of innovation in programming languages (e.g. Simula-67, GPSS). Much effort has gone into the development of Simulation Programming Languages. The ScalaTion project is working to develop an embedded or internal Domain-Specific Language for Modeling and Simulation which could streamline language innovation in this domain. One of its goals is to make the code concise, readable, and in a form familiar to experts in the domain. In some cases the code looks very similar to textbook formulas. To enhance readability by domain experts, a version of ScalaTion is provided that heavily utilizes Unicode. This paper discusses the development of the ScalaTion DSL and the underlying features of Scala that make this possible. It then provides an overview of ScalaTion highlighting some uses of Unicode. Statistical analysis capabilities needed for Modeling and Simulation are presented in some detail. The notation developed is clear and concise which should lead to improved usability and extendibility.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Using Domain Specific Languages for Modeling and Simulation: ScalaTion as a Case Study

Progress in programming paradigms and languages has over time influenced the way that simulation programs are written. Modern object-oriented, functional programming languages are expressive enough to define embedded Domain Specific Languages (DSLs). The Scala programming language is used to implement ScalaTion that supports several popular simulation modeling paradigms. As a case study, ScalaT...

متن کامل

Is My DSL a Modeling or Programming Language?

It is often difficult to discern the differences between programming and modeling languages. As an example, the term “domain-specific language” has been used almost interchangeably in academia and industry to represent both programming and modeling languages, which has caused subtle misconceptions. The borders between a modeling and programming language are somewhat vague and not defined crispl...

متن کامل

Domain Specific Modeling Language for Early Warning System: Using IDEF0 for Domain Analysis

Domain analysis plays a significant role in the design phase of domain specific modeling languages (DSML). The Integration Definition for Function Modeling (IDEF0) is proposed as a method for domain analysis. We implemented IDEF0 and managed to specify reusable domain specific language artifacts in a case study on water treatment plants safety. The observations suggest that IDEF0 not only exami...

متن کامل

Towards a Modeling Environment for Composing Domain-Specific Modeling Languages: A Case Study on Controlling Traffic Lights

Domain-Specific Modeling Languages (DSMLs) play a fundamental role in the model-based design of embedded software and systems. While abstract syntax metamodeling enables the rapid and inexpensive development of DSMLs, the specification of DSML semantics is still a hard problem, particularly for models with heterogeneous models of computation. In this paper we consider issues associated with cre...

متن کامل

A generic framework for defining operational semantics , simulating and model - checking domain - specific modelling languages ( DSMLs )

With the increasing use of domain specific modelling languages (DMSLs), language engineering is becoming (again) an important topic and novel applications are coming to light every day. A recurring problem with no satisfactory solution yet is that of simulating and efficiently exploring the state spaces of models defined in these languages. If, with the current tools, it is very easy to define ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1112.1751  شماره 

صفحات  -

تاریخ انتشار 2011